//
//  YCAllOrderView.h
//  HeartWorldClient
//
//  Created by 大锅 on 2017/7/21.
//  Copyright © 2017年 谭明权. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol YCAllOrderviewDelegate <NSObject>

-(void)selectButton:(NSInteger)index;

@end

@interface YCAllOrderview : UIView


@property (strong, nonatomic) IBOutletCollection(UIButton) NSArray *buttons;
@property (weak, nonatomic) IBOutlet UIView *line;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *lineConstraint;

@property(nonatomic, strong)UIButton *lastSelectedButton;

@property(nonatomic, weak) id <YCAllOrderviewDelegate> delegate;


-(void)clickButton:(UIButton *)btn;
@end
